home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 1.1 KB | 29 lines | [TEXT/GEOL] |
- Item 1381180 27-July-89 15:59
-
- From: BIANCHI1 Bianchi, Curt
-
- To: D2086 Efficient Field Svc, C Faith, PRT
-
- cc: MACAPP.TECH$ MACAPP Tech
-
- Sub: Re: Setting Cursor with keys
-
- Eric (via Curtis),
-
- A while back, there was a question having to do with setting the shape of the
- cursor based on which modifier keys are pressed.
-
- The problem is that MultiFinder does not generate an event when a modifier key
- is pressed (i.e., shift, option, command, control), though of course an event
- is generated for other keys. Thus, control is not returned to your application
- when a modifier key is pressed, even if your application in the foreground.
- The way around this is to use an fIdleFreq of zero for whatever view changes
- the cursor based on the modifier keys. You will then have to look at the keys
- yourself with the Toolbox call GetKeys, and then set the cursor accordingly.
- This will have to be done in the view's DoIdle method as the DoSetCursor method
- will not get called unless the mouse actually moves.
-
- Curt Bianchi
- Apple Computer
-
-